package com.course.testng.parameters;

import org.testng.annotations.Parameters;
import org.testng.annotations.Test;

public class ParametersTest {

    @Test
    @Parameters({"name", "age"})
    public void test1(String name, int age) {
        System.out.println("我是" + name + "，今年" + age + "岁。");
    }
}
